package com.sunstar.club.subject.application.convert;

import com.sunstar.club.subject.application.dto.SubjectInfoDto;
import com.sunstar.club.subject.domain.entity.SubjectInfoBo;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

/**
 * 信息Dto转换器
 */
@Mapper
public interface SubjectInfoDtoConverter {

    SubjectInfoDtoConverter INSTANCE = Mappers.getMapper(SubjectInfoDtoConverter.class);

    SubjectInfoBo convertDtoToInfoBo(SubjectInfoDto subjectInfoDto);

    SubjectInfoDto convertBoToInfoDto(SubjectInfoBo subjectInfoBo);
}
